package com.aibank.service;

import com.aibank.entity.Recharge;
import com.aibank.entity.RequestEnity;
import com.aibank.repository.RechargeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: dukai
 * @Date: 2021/7/30 17:00
 */
@Service
public class DirectService {


    public Map recharge(RequestEnity requestEnity) {
        Map<String, Object> map = new HashMap<>();
        map.put("requestNo","111");
        map.put("code","0");
        map.put("platformUserNo",requestEnity.getPlatformNo());
        map.put("amount","10000");
        map.put("proxyPretransRequestNo","12343432");
        map.put("proxyAppendRequestNo","3432423");
        map.put("proxyPretransStatus","SUCCESS");
        map.put("payCompany","百信支付");
        map.put("rechargeWay","快捷支付");
        map.put("status","success");
        return map;
    }

}
